/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * GUI.java
 *
 * Created on Nov 30, 2009, 6:56:36 PM
 */

package hirt_20;



/**
 *
 * @author tpruitt
 */
public class GUI extends javax.swing.JPanel {

    /** Creates new form GUI */
    public GUI() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        frmScenario = new javax.swing.JPanel();
        imgClock = new javax.swing.JLabel();
        lblClock = new javax.swing.JLabel();
        imgSpeedLimit = new javax.swing.JLabel();
        imgLocation = new javax.swing.JLabel();
        lblDescription = new javax.swing.JLabel();
        frmScene = new javax.swing.JPanel();
        frmVehicle = new javax.swing.JPanel();
        imgVehicle = new javax.swing.JLabel();
        frmWheelAngle = new javax.swing.JPanel();
        frmLights = new javax.swing.JPanel();
        frmItems = new javax.swing.JPanel();
        frmChat = new javax.swing.JPanel();
        btnRequest = new javax.swing.JButton();
        jScrollPane1 = new javax.swing.JScrollPane();
        txtboxChat = new javax.swing.JTextArea();
        txtTypeMessage = new javax.swing.JTextField();
        btnSend = new javax.swing.JButton();
        frmResponders = new javax.swing.JPanel();
        imgPolice = new javax.swing.JLabel();
        imgDOT = new javax.swing.JLabel();
        imgFirefighter = new javax.swing.JLabel();
        imgAmbulance = new javax.swing.JLabel();
        lblPolice = new javax.swing.JLabel();
        lblDOT = new javax.swing.JLabel();
        lblFirefighter = new javax.swing.JLabel();
        lblAmbulance = new javax.swing.JLabel();
        frmHelp = new javax.swing.JPanel();
        lblHelp = new javax.swing.JLabel();

        frmScenario.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Scenario", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N
        frmScenario.setFocusable(false);
        frmScenario.setName("frmScenario"); // NOI18N
        frmScenario.setOpaque(false);
        frmScenario.setPreferredSize(new java.awt.Dimension(200, 200));

        imgClock.setAlignmentX(0.5F);
        imgClock.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        imgClock.setName("imgClock"); // NOI18N

        lblClock.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        lblClock.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblClock.setText("lblClock");
        lblClock.setAlignmentX(0.5F);
        lblClock.setBorder(new javax.swing.border.SoftBevelBorder(javax.swing.border.BevelBorder.RAISED));
        lblClock.setFocusable(false);
        lblClock.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lblClock.setName("lblClock"); // NOI18N

        imgSpeedLimit.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        imgSpeedLimit.setAlignmentX(0.5F);
        imgSpeedLimit.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        imgSpeedLimit.setFocusable(false);
        imgSpeedLimit.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        imgSpeedLimit.setName("imgSpeedLimit"); // NOI18N
        imgSpeedLimit.setPreferredSize(new java.awt.Dimension(100, 100));

        imgLocation.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        imgLocation.setAlignmentX(0.5F);
        imgLocation.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        imgLocation.setFocusable(false);
        imgLocation.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        imgLocation.setName("imgLocation"); // NOI18N
        imgLocation.setPreferredSize(new java.awt.Dimension(75, 75));

        lblDescription.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        lblDescription.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblDescription.setAlignmentX(0.5F);
        lblDescription.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        lblDescription.setFocusable(false);
        lblDescription.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lblDescription.setName("lblDescription"); // NOI18N

        javax.swing.GroupLayout frmScenarioLayout = new javax.swing.GroupLayout(frmScenario);
        frmScenario.setLayout(frmScenarioLayout);
        frmScenarioLayout.setHorizontalGroup(
            frmScenarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(frmScenarioLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(frmScenarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(lblClock, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(imgClock, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 100, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 62, Short.MAX_VALUE)
                .addGroup(frmScenarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(frmScenarioLayout.createSequentialGroup()
                        .addComponent(imgLocation, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(imgSpeedLimit, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(lblDescription, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );

        frmScenarioLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {imgLocation, imgSpeedLimit});

        frmScenarioLayout.setVerticalGroup(
            frmScenarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(frmScenarioLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(frmScenarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(frmScenarioLayout.createSequentialGroup()
                        .addComponent(imgClock, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(lblClock))
                    .addGroup(frmScenarioLayout.createSequentialGroup()
                        .addGroup(frmScenarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(imgLocation, javax.swing.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE)
                            .addComponent(imgSpeedLimit, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(lblDescription, javax.swing.GroupLayout.DEFAULT_SIZE, 53, Short.MAX_VALUE)))
                .addContainerGap())
        );

        frmScenarioLayout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {imgLocation, imgSpeedLimit});

        imgSpeedLimit.getAccessibleContext().setAccessibleName("imgSpeedLimit");
        imgLocation.getAccessibleContext().setAccessibleName("imgLocation");
        lblDescription.getAccessibleContext().setAccessibleName("lblDescription");

        frmScene.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Scene", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N
        frmScene.setFocusable(false);
        frmScene.setName("frmScene"); // NOI18N
        frmScene.setOpaque(false);

        javax.swing.GroupLayout frmSceneLayout = new javax.swing.GroupLayout(frmScene);
        frmScene.setLayout(frmSceneLayout);
        frmSceneLayout.setHorizontalGroup(
            frmSceneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 479, Short.MAX_VALUE)
        );
        frmSceneLayout.setVerticalGroup(
            frmSceneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 670, Short.MAX_VALUE)
        );

        frmVehicle.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Vehicle", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N
        frmVehicle.setFocusable(false);
        frmVehicle.setName("frmVehicle"); // NOI18N
        frmVehicle.setOpaque(false);

        imgVehicle.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        imgVehicle.setAlignmentX(0.5F);
        imgVehicle.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        imgVehicle.setFocusable(false);
        imgVehicle.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        imgVehicle.setName("imgVehicle"); // NOI18N

        frmWheelAngle.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Wheel Angle", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 12))); // NOI18N

        javax.swing.GroupLayout frmWheelAngleLayout = new javax.swing.GroupLayout(frmWheelAngle);
        frmWheelAngle.setLayout(frmWheelAngleLayout);
        frmWheelAngleLayout.setHorizontalGroup(
            frmWheelAngleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 198, Short.MAX_VALUE)
        );
        frmWheelAngleLayout.setVerticalGroup(
            frmWheelAngleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 69, Short.MAX_VALUE)
        );

        frmLights.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Lights", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 12))); // NOI18N

        javax.swing.GroupLayout frmLightsLayout = new javax.swing.GroupLayout(frmLights);
        frmLights.setLayout(frmLightsLayout);
        frmLightsLayout.setHorizontalGroup(
            frmLightsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 302, Short.MAX_VALUE)
        );
        frmLightsLayout.setVerticalGroup(
            frmLightsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 172, Short.MAX_VALUE)
        );

        javax.swing.GroupLayout frmVehicleLayout = new javax.swing.GroupLayout(frmVehicle);
        frmVehicle.setLayout(frmVehicleLayout);
        frmVehicleLayout.setHorizontalGroup(
            frmVehicleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, frmVehicleLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(frmVehicleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(frmLights, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(frmVehicleLayout.createSequentialGroup()
                        .addComponent(imgVehicle, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(frmWheelAngle, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap())
        );
        frmVehicleLayout.setVerticalGroup(
            frmVehicleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(frmVehicleLayout.createSequentialGroup()
                .addGroup(frmVehicleLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(frmWheelAngle, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(imgVehicle, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(frmLights, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        imgVehicle.getAccessibleContext().setAccessibleName("imgVehicle");

        frmItems.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Items", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N
        frmItems.setFocusable(false);
        frmItems.setName("frmItems"); // NOI18N
        frmItems.setOpaque(false);

        javax.swing.GroupLayout frmItemsLayout = new javax.swing.GroupLayout(frmItems);
        frmItems.setLayout(frmItemsLayout);
        frmItemsLayout.setHorizontalGroup(
            frmItemsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 338, Short.MAX_VALUE)
        );
        frmItemsLayout.setVerticalGroup(
            frmItemsLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 116, Short.MAX_VALUE)
        );

        frmChat.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Messages", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N
        frmChat.setFocusable(false);
        frmChat.setName("frmChat"); // NOI18N
        frmChat.setOpaque(false);

        btnRequest.setFont(new java.awt.Font("Tahoma", 0, 12));
        btnRequest.setText("Make a Request");
        btnRequest.setName("btnRequest"); // NOI18N

        txtboxChat.setColumns(20);
        txtboxChat.setFont(new java.awt.Font("Monospaced", 0, 12));
        txtboxChat.setLineWrap(true);
        txtboxChat.setRows(5);
        txtboxChat.setWrapStyleWord(true);
        txtboxChat.setFocusable(false);
        txtboxChat.setName("txtboxChat"); // NOI18N
        jScrollPane1.setViewportView(txtboxChat);

        txtTypeMessage.setFont(new java.awt.Font("Tahoma", 0, 12));
        txtTypeMessage.setText("Type Message Here...");
        txtTypeMessage.setName("txtTypeMessage"); // NOI18N

        btnSend.setFont(new java.awt.Font("Tahoma", 0, 12));
        btnSend.setText("Send");
        btnSend.setName("btnSend"); // NOI18N

        javax.swing.GroupLayout frmChatLayout = new javax.swing.GroupLayout(frmChat);
        frmChat.setLayout(frmChatLayout);
        frmChatLayout.setHorizontalGroup(
            frmChatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(frmChatLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(frmChatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 318, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, frmChatLayout.createSequentialGroup()
                        .addComponent(txtTypeMessage, javax.swing.GroupLayout.DEFAULT_SIZE, 251, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnSend))
                    .addComponent(btnRequest, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        frmChatLayout.setVerticalGroup(
            frmChatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, frmChatLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 236, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(frmChatLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtTypeMessage, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnSend, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnRequest)
                .addContainerGap())
        );

        frmChatLayout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {btnRequest, btnSend, txtTypeMessage});

        txtTypeMessage.getAccessibleContext().setAccessibleName("txtTypeMessage");

        frmResponders.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Responders", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N
        frmResponders.setFocusable(false);
        frmResponders.setName("frmResponders"); // NOI18N
        frmResponders.setOpaque(false);

        imgPolice.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        imgPolice.setAlignmentX(0.5F);
        imgPolice.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        imgPolice.setFocusable(false);
        imgPolice.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        imgPolice.setName("imgPolice"); // NOI18N

        imgDOT.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        imgDOT.setAlignmentX(0.5F);
        imgDOT.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        imgDOT.setFocusable(false);
        imgDOT.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        imgDOT.setName("imgDOT"); // NOI18N

        imgFirefighter.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        imgFirefighter.setAlignmentX(0.5F);
        imgFirefighter.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        imgFirefighter.setFocusable(false);
        imgFirefighter.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        imgFirefighter.setName("imgFirefighter"); // NOI18N

        imgAmbulance.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        imgAmbulance.setAlignmentX(0.5F);
        imgAmbulance.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        imgAmbulance.setFocusable(false);
        imgAmbulance.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        imgAmbulance.setName("imgAmbulance"); // NOI18N

        lblPolice.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblPolice.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblPolice.setText("lblPolice");
        lblPolice.setAlignmentX(0.5F);
        lblPolice.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        lblPolice.setFocusable(false);
        lblPolice.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lblPolice.setName("lblPolice"); // NOI18N

        lblDOT.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblDOT.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblDOT.setText("lblDOT");
        lblDOT.setAlignmentX(0.5F);
        lblDOT.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        lblDOT.setFocusable(false);
        lblDOT.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lblDOT.setName("lblDOT"); // NOI18N

        lblFirefighter.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblFirefighter.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblFirefighter.setText("lblFirefighter");
        lblFirefighter.setAlignmentX(0.5F);
        lblFirefighter.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        lblFirefighter.setFocusable(false);
        lblFirefighter.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lblFirefighter.setName("lblFirefighter"); // NOI18N

        lblAmbulance.setFont(new java.awt.Font("Tahoma", 0, 12));
        lblAmbulance.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblAmbulance.setText("lblAmbulance");
        lblAmbulance.setAlignmentX(0.5F);
        lblAmbulance.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        lblAmbulance.setFocusable(false);
        lblAmbulance.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lblAmbulance.setName("lblAmbulance"); // NOI18N

        javax.swing.GroupLayout frmRespondersLayout = new javax.swing.GroupLayout(frmResponders);
        frmResponders.setLayout(frmRespondersLayout);
        frmRespondersLayout.setHorizontalGroup(
            frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(frmRespondersLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(lblPolice, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(imgPolice, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lblDOT, javax.swing.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE)
                    .addComponent(imgDOT, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(frmRespondersLayout.createSequentialGroup()
                        .addComponent(imgFirefighter, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(imgAmbulance, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(frmRespondersLayout.createSequentialGroup()
                        .addComponent(lblFirefighter, javax.swing.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(lblAmbulance)))
                .addContainerGap())
        );

        frmRespondersLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {imgAmbulance, imgDOT, imgFirefighter, imgPolice});

        frmRespondersLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {lblAmbulance, lblDOT, lblFirefighter, lblPolice});

        frmRespondersLayout.setVerticalGroup(
            frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(frmRespondersLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(frmRespondersLayout.createSequentialGroup()
                        .addGroup(frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(imgFirefighter, javax.swing.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE)
                            .addComponent(imgAmbulance, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(25, 25, 25))
                    .addGroup(frmRespondersLayout.createSequentialGroup()
                        .addGroup(frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(imgPolice, javax.swing.GroupLayout.DEFAULT_SIZE, 75, Short.MAX_VALUE)
                            .addComponent(imgDOT, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(frmRespondersLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblPolice)
                            .addComponent(lblDOT)
                            .addComponent(lblFirefighter)
                            .addComponent(lblAmbulance))))
                .addContainerGap())
        );

        frmRespondersLayout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {imgAmbulance, imgDOT, imgFirefighter, imgPolice});

        frmRespondersLayout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {lblAmbulance, lblDOT, lblFirefighter, lblPolice});

        imgPolice.getAccessibleContext().setAccessibleName("imgPolice");
        imgDOT.getAccessibleContext().setAccessibleName("imgDOT");
        imgFirefighter.getAccessibleContext().setAccessibleName("imgFirefighter");
        imgAmbulance.getAccessibleContext().setAccessibleName("imgAmbulance");

        frmHelp.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Help", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 14))); // NOI18N
        frmHelp.setFocusable(false);
        frmHelp.setName("frmHelp"); // NOI18N
        frmHelp.setOpaque(false);

        lblHelp.setFont(new java.awt.Font("Tahoma", 0, 10));
        lblHelp.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblHelp.setAlignmentX(0.5F);
        lblHelp.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        lblHelp.setFocusable(false);
        lblHelp.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lblHelp.setName("lblHelp"); // NOI18N

        javax.swing.GroupLayout frmHelpLayout = new javax.swing.GroupLayout(frmHelp);
        frmHelp.setLayout(frmHelpLayout);
        frmHelpLayout.setHorizontalGroup(
            frmHelpLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(frmHelpLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblHelp, javax.swing.GroupLayout.DEFAULT_SIZE, 318, Short.MAX_VALUE)
                .addContainerGap())
        );
        frmHelpLayout.setVerticalGroup(
            frmHelpLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(frmHelpLayout.createSequentialGroup()
                .addComponent(lblHelp, javax.swing.GroupLayout.DEFAULT_SIZE, 145, Short.MAX_VALUE)
                .addContainerGap())
        );

        lblHelp.getAccessibleContext().setAccessibleName("lblHelp");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(frmScenario, javax.swing.GroupLayout.DEFAULT_SIZE, 354, Short.MAX_VALUE)
                    .addComponent(frmResponders, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(frmChat, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(frmScene, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(frmItems, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(frmHelp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(frmVehicle, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {frmHelp, frmScenario});

        layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {frmChat, frmVehicle});

        layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {frmItems, frmResponders});

        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(frmHelp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(frmItems, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(frmVehicle, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addComponent(frmScene, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(frmScenario, javax.swing.GroupLayout.PREFERRED_SIZE, 189, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(frmResponders, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(frmChat, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );

        layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {frmHelp, frmScenario});

        layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {frmChat, frmVehicle});

        layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {frmItems, frmResponders});

        frmScenario.getAccessibleContext().setAccessibleName("frmScenario");
        frmScene.getAccessibleContext().setAccessibleName("frmScene");
        frmVehicle.getAccessibleContext().setAccessibleName("frmVehicle");
        frmItems.getAccessibleContext().setAccessibleName("frmItems");
        frmChat.getAccessibleContext().setAccessibleName("frmChat");
        frmResponders.getAccessibleContext().setAccessibleName("frmResponders");
        frmHelp.getAccessibleContext().setAccessibleName("frmHelp");
    }// </editor-fold>//GEN-END:initComponents


    public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new GUI().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnRequest;
    private javax.swing.JButton btnSend;
    private javax.swing.JPanel frmChat;
    private javax.swing.JPanel frmHelp;
    private javax.swing.JPanel frmItems;
    private javax.swing.JPanel frmLights;
    private javax.swing.JPanel frmResponders;
    private javax.swing.JPanel frmScenario;
    private javax.swing.JPanel frmScene;
    private javax.swing.JPanel frmVehicle;
    private javax.swing.JPanel frmWheelAngle;
    private javax.swing.JLabel imgAmbulance;
    private javax.swing.JLabel imgClock;
    private javax.swing.JLabel imgDOT;
    private javax.swing.JLabel imgFirefighter;
    private javax.swing.JLabel imgLocation;
    private javax.swing.JLabel imgPolice;
    private javax.swing.JLabel imgSpeedLimit;
    private javax.swing.JLabel imgVehicle;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JLabel lblAmbulance;
    private javax.swing.JLabel lblClock;
    private javax.swing.JLabel lblDOT;
    private javax.swing.JLabel lblDescription;
    private javax.swing.JLabel lblFirefighter;
    private javax.swing.JLabel lblHelp;
    private javax.swing.JLabel lblPolice;
    private javax.swing.JTextField txtTypeMessage;
    private javax.swing.JTextArea txtboxChat;
    // End of variables declaration//GEN-END:variables

}
